package com.ruoyi.basedata.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区域小表档案数据统计对象 v_t_terminals_xb_tj_view
 *
 * @author gdqt
 * @date 2024-03-19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("v_t_terminals_xb_tj_view")
public class TerminalsXbTjView {
    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    /**
     * 区域编号
     */
    @Excel(name = "区域编号")
    @TableField("sheets_code")
    private String sheetsCode;

    /**
     * 区域名称
     */
    @Excel(name = "区域名称")
    @TableField("sheets_name")
    private String sheetsName;

    /**
     * 经度
     */
    @Excel(name = "经度")
    @TableField("lng")
    private String lng;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    @TableField("lat")
    private String lat;

    /**
     * 经纬度
     */
    @Excel(name = "经纬度")
    @TableField("lng_lat_temp")
    private String lngLatTemp;

    /**
     * 表数量
     */
    @Excel(name = "表数量")
    @TableField("cnt")
    private Integer cnt;

    /**
     * 抄表率
     */
    @Excel(name = "抄表率")
    @TableField("cbl")
    private Integer cbl;

    /**
     * 日用量
     */
    @Excel(name = "日用量")
    @TableField("cumulative_flow")
    private BigDecimal cumulativeFlow;

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setSheetsCode(String sheetsCode) {
        this.sheetsCode = sheetsCode;
    }

    public String getSheetsCode() {
        return sheetsCode;
    }

    public void setSheetsName(String sheetsName) {
        this.sheetsName = sheetsName;
    }

    public String getSheetsName() {
        return sheetsName;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLng() {
        return lng;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setLngLatTemp(String lngLatTemp) {
        this.lngLatTemp = lngLatTemp;
    }

    public String getLngLatTemp() {
        return lngLatTemp;
    }

    public void setCnt(Integer cnt) {
        this.cnt = cnt;
    }

    public Integer getCnt() {
        return cnt;
    }

    public Integer getCbl() {
        return cbl;
    }

    public void setCbl(Integer cbl) {
        this.cbl = cbl;
    }

    public void setCumulativeFlow(BigDecimal cumulativeFlow) {
        this.cumulativeFlow = cumulativeFlow;
    }

    public BigDecimal getCumulativeFlow() {
        return cumulativeFlow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("tenantId", getTenantId())
                .append("sheetsCode", getSheetsCode())
                .append("sheetsName", getSheetsName())
                .append("lng", getLng())
                .append("lat", getLat())
                .append("lngLatTemp", getLngLatTemp())
                .append("cnt", getCnt())
                .append("cumulativeFlow", getCumulativeFlow())
                .toString();
    }
}
